package com.blq.api.domain.Bo;

import com.blq.common.core.validate.AddGroup;
import com.blq.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.blq.common.core.domain.BaseEntity;

/**
 * 评价备份业务对象 evaluation_backup
 *
 * @author Blq
 * @date 2023-02-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("评价备份业务对象")
public class EvaluationBackupBo extends BaseEntity {


    /**
     * 工单id
     */
    @ApiModelProperty(value = "工单id", required = true)
    @NotBlank(message = "工单id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String evaluationId;

    /**
     * 评价星级
     */
    @ApiModelProperty(value = "评价星级", required = true)
    @NotBlank(message = "评价星级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String evaluationStatus;

    /**
     * 是否通过验收 0=是 1=否
     */
    @ApiModelProperty(value = "是否通过验收 0=是 1=否", required = true)
    @NotBlank(message = "是否通过验收 0=是 1=否不能为空", groups = { AddGroup.class, EditGroup.class })
    private String evaluationFlag;

    /**
     * 评价信息
     */
    @ApiModelProperty(value = "评价信息", required = true)
    @NotBlank(message = "评价信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String evaluationInfo;

    /**
     * 信息说明
     */
    @ApiModelProperty(value = "信息说明", required = true)
    @NotBlank(message = "信息说明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialIllustrate;

    /**
     * 处理前
     */
    @ApiModelProperty(value = "处理前", required = true)
    @NotBlank(message = "处理前不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialBefore;

    /**
     * 故障故障情况
     */
    @ApiModelProperty(value = "故障故障情况", required = true)
    @NotBlank(message = "故障故障情况不能为空", groups = { AddGroup.class, EditGroup.class })
    private String faultCondition;

    /**
     * 处理之后图片
     */
    @ApiModelProperty(value = "处理之后图片", required = true)
    @NotBlank(message = "处理之后图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialAfter;

    /**
     * 是否是客户产权 0=是 1=否
     */
    @ApiModelProperty(value = "是否是客户产权 0=是 1=否", required = true)
    @NotBlank(message = "是否是客户产权 0=是 1=否不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialPower;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = true)
    @NotNull(message = "创建时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date creatTime;

    /**
     * 恢复时间
     */
    @ApiModelProperty(value = "恢复时间", required = true)
    @NotNull(message = "恢复时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date materialTime;



}
